package com.example.lambdaexample.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: Liuzihao
 * @Description:
 * @Date Created in 2024-02-17 19:53
 * @Modified By:
 */
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@Data
public class Author {
    private String id;
    private String name;
    private Integer age;
    private String intro;
    private List<Book> books;
}
